package com.xnyzc.lhy.order.service.order;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xnyzc.lhy.order.entity.order.OaCOrderDeptOfficial;
import com.xnyzc.lhy.order.entity.order.OaDOrder;
import com.xnyzc.lhy.order.entity.gps.OaDVehicleGps;
import com.xnyzc.lhy.order.entity.param.order.OrderParam;

/**
 * <p>
 * 部门公务订单 服务类
 * </p>
 *
 * @author lhy@xnyzc.com
 * @since 2019-07-22
 */
public interface IOaCOrderDeptOfficialService extends IService<OaCOrderDeptOfficial> {

    /**
     * 分配订单
     * @param deptOfficial
     * @param oaDOrder
     * @param vehicleGps
     * @return
     */
    boolean distributeOrderDeptOfficial(OaCOrderDeptOfficial deptOfficial, OrderParam oaDOrder, OaDVehicleGps vehicleGps);

    /**
     * 添加订单
     * @param deptOfficial
     * @return
     */
    String orderDeptOfficial(OaCOrderDeptOfficial deptOfficial);
}
